﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PurchaseGoods_deal.aspx.cs"
    Inherits="Bidder_PurchaseGoods_deal" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>采购药品确认</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="javascript">
    
      //  window.alert("11");
        function SelectAll()
        {
            var i;
             var a = document.getElementsByName('chk');
             for( i = 0;i < a.length;i++)
            {
                a[i].checked = true; 
            }           
        }
        function ClearAll()
        {
            var i;
             var a = document.getElementsByName('chk');
             
             for( i = 0;i < a.length;i++)
            {
                a[i].checked = false; 
            }           
        }
        function CheckOthers()
        {
            var i;
            var a = document.getElementsByName('chk');
             
             for( i = 0;i < a.length;i++)
            {
            
                if(a[i].checked!=true)
                {
                    a[i].checked =true ; 
                }
                else
                {   
                    a[i].checked = false; 
                }
            }           
            
        }
    </script>

</head>
<body>
    <form id="form2" runat="server">
        <div>
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 4px">
                        <img src="../images/intro_left.gif" width="4" height="34"></td>
                    <td class="intro_wordbg">
                        采购药品确认</td>
                    <td background="../images/intro_bg.gif">
                        <img src="../images/intro_right.jpg" width="118" height="34"></td>
                </tr>
            </table>

            <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>

            <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="table_table2">
                <tr>
                    <td class="table_td3">
                        采购医院</td>
                    <td class="table_td2">
                        <span style="color: #ff6666">
                            <asp:Label ID="LabHospital" runat="server" Text=""></asp:Label></span></td>
                    <td class="table_td3">
                        采购单名称</td>
                    <td class="table_td2">
                        <asp:Label ID="labPlanName" runat="server"></asp:Label><span style="color: #ff6666">(*)</span></td>
                </tr>
                <tr>
                    <td class="table_td3" style="width: 143px">
                        开始配送时间</td>
                    <td class="table_td2">
                        <asp:Label ID="labStartTime" runat="server"></asp:Label></td>
                    <td class="table_td3">
                        结束配送时间</td>
                    <td class="table_td2" style="width: 230px">
                        <asp:Label ID="labEndTime" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td class="table_td3" style="height: 39px; width: 143px;">
                        采购单状态：
                    </td>
                    <td class="table_td2" colspan="3" style="height: 39px; width: auto">
                        <asp:RadioButtonList ID="rdoBuyStatus" runat="server" readonly RepeatDirection="Horizontal">
                            <asp:ListItem Text=" 未采购" Value="0" Enabled="false"></asp:ListItem>
                            <asp:ListItem Text="已采购未提交" Value="1" Enabled="false"></asp:ListItem>
                            <asp:ListItem Text="已提交" Value="2" Enabled="false"></asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="table_td3" style="width: 143px">
                        备注</td>
                    <td class="table_td2" colspan="3">
                        <asp:Label ID="labRemarks" runat="server"></asp:Label></td>
                </tr>
            </table>
            <p align="center">
                <font size='3' style="text-transform: none; color: blue; background-color: white">采购药品清单</font></p>
            <table id="tabData" width="98%" border="1" align="center" cellpadding="2" cellspacing="1">
                <tr>
                    <td align="right">
                        &nbsp;通用名：</td>
                    <td style="width: 158px">
                        <asp:TextBox ID="txtProductName" runat="server" InvertedComma="通用名" Width="125px"></asp:TextBox></td>
                    <td align="right">
                        剂型：</td>
                    <td>
                        <asp:TextBox ID="txtMedicinemodel" runat="server" InvertedComma="剂 型" Width="125px"></asp:TextBox></td>
                    <td align="right">
                        规格：</td>
                    <td style="height: 28px">
                        <asp:TextBox ID="txtOutlook" runat="server" InvertedComma="规 格" Width="125px"></asp:TextBox>&nbsp;
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        药品流水号：</td>
                    <td style="width: 158px">
                        <asp:TextBox ID="txtGoodsId" runat="server" InvertedComma="流水号" NumericOnly="流水号"
                            Width="125px"></asp:TextBox></td>
                    <td align="right">
                        商品名：</td>
                    <td>
                        <asp:TextBox ID="txtGoodsName" runat="server" InvertedComma="商品名" Width="125px"></asp:TextBox></td>
                    <td align="right">
                        处理状态：
                        </td>
                    <td>                       
                        <asp:DropDownList ID="listDealStatus" runat="server"  Width="125px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" style="height: 28px">
                        生产企业名称：</td>
                    <td style="height: 28px">
                        <asp:TextBox ID="txtCompanyNameSC" runat="server" InvertedComma="生产企业" Width="125px"></asp:TextBox>&nbsp;
                    </td>
                    <td align="right" style="height: 28px">
                        生产企业注册号：</td>
                    <td style="height: 28px">
                        <asp:TextBox ID="txtUserCodeSC" runat="server" InvertedComma="企业编码" Width="125px"></asp:TextBox></td>
                    <td align="right">
                        &nbsp;</td>
                    <td>
                        <asp:Button ID="Button5" runat="server" Text="" CssClass="button_Query" OnClientClick="javascript:return CheckForm();" /></td>
                </tr>
            </table>
            <table>
                <tr>
                    <td>
                        <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
                    </td>
                    <td>
                        <input id="but1" type="button" class="button_bg6" value="全选" onclick="javascript:SelectAll();" /></td>
                    <td>
                        <input id="but2" type="button" class="button_bg6" value="清空" onclick="javascript:ClearAll();" /></td>
                    <td>
                        <input id="but3" type="button" class="button_bg6" value="反选" onclick="javascript:CheckOthers();" /></td>
                    <td>
                        <input id="Submit1" name="submitSave" type="submit" value="确定配送" class="button_bg6" onclientclick="javascript:return CheckForm();" style="width: 89px" />
                    </td>
                </tr>
            </table>
            <asp:Label ID="Lablist" runat="server" Text="Label"></asp:Label><br />
        </div>
    </form>
</body>
</html>
